/*
 * @Author: wwssaabb
 * @Date: 2021-07-27 15:22:06
 * @LastEditTime: 2021-07-27 15:42:55
 * @FilePath: \react-admin-client\src\config\menuConfig.js
 */
import {
  AppstoreOutlined,
  HomeOutlined,
  TeamOutlined,
  SolutionOutlined,
  AreaChartOutlined,
  BarsOutlined,
  CalendarOutlined,
  BarChartOutlined,
  LineChartOutlined,
  PieChartOutlined,
} from '@ant-design/icons';

const menuList=[
  {
    title:'首页',
    icon:<HomeOutlined />,
    path:'/home'
  },
  {
    title:'商品',
    icon:<AppstoreOutlined />,
    path:'/goods',
    children:[
      {
        title:'品类管理',
        icon:<BarsOutlined />,
        path:'/category'
      },
      {
        title:'商品管理',
        icon:<CalendarOutlined />,
        path:'/product'
      }
    ]
  },
  {
    title:'用户管理',
    icon:<TeamOutlined />,
    path:'/user'
  },
  {
    title:'角色管理',
    icon:<SolutionOutlined />,
    path:'/role'
  },
  {
    title:'图形图表',
    icon:<AreaChartOutlined />,
    path:'/charts',
    children:[
      {
        title:'柱形图',
        icon:<BarChartOutlined />,
        path:'/charts/bar'
      },
      {
        title:'折线图',
        icon:<LineChartOutlined />,
        path:'/charts/line'
      },
      {
        title:'饼图',
        icon:<PieChartOutlined />,
        path:'/charts/pie'
      }
    ]
  }
]

export default menuList